package com.gpvip.study.abstractfactory;

/**
 * @Author：xuchy
 * @Date：2020/2/24
 */
public class OutSideFactory implements IPayFactory {

    @Override
    public IAliPay createAliPay() {
        return new OutSideAliPay();
    }

    @Override
    public IWxPay createWxPay() {
        return new OutSideWxPay();
    }

    @Override
    public IUnionPay createUnionPay() {
        return new OutSideUnionPay();
    }
}
